package cn.tedu.charging.order.dao.repository;

import cn.tedu.charging.order.pojo.po.ChargingOrderFailPO;
import cn.tedu.charging.order.pojo.po.ChargingOrderSuccessPO;

public interface OrderRepository {
    ChargingOrderSuccessPO getSuccessOrderByOrderNo(String orderNo);
    ChargingOrderFailPO getFailOrderByOrderNo(String orderNo);
    Integer insertSuccessOrder(ChargingOrderSuccessPO chargingOrderSuccessPO);
    Integer insertFailOrder(ChargingOrderFailPO chargingOrderFailPO);

    Integer updateOrderStatusFromChargingToAbnormal(String orderNo);
}
